package common.tx;

import common.lang.Transactionary;

import java.util.function.Function;

/**
 * @Author wangyue
 * @Version 3.0
 * @Date 2025-02-24
 */
public class FakeTransactionary implements Transactionary  {

    @Override
    public <T> T transact(Function<Object, T> action) {
        return action.apply(null);
    }

}
